package com.itl.train.service.impl;

import com.itl.train.entity.Enterprise;
import com.itl.train.mapper.EnterpriseMapper;
import com.itl.train.service.EnterpriseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 胡广
 * @date 2020-11-06
 * @since JDK1.8
 */
@Service
public class EnterpriseServiceImpl implements EnterpriseService {


    @Autowired
    private EnterpriseMapper enterpriseMapper;

    /**
     * 集团查询
     * @param enterprise
     * @return
     */
    @Override
    public List<Enterprise> query(Enterprise enterprise) {
        return enterpriseMapper.query(enterprise);
    }

}
